/*
 * Copyright (c) 2021 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/*强调型app bar大标题*/
.text-size-heading-1 {
    font-size: 30px;
}

/*带子页签的app bar大标题*/

.text-size-heading-2 {
    font-size: 30px;
}

/*带子页签的app bar普通标题*/

.text-size-heading-3 {
    font-size: 24px;
}

/*普通app bar标题*/

.text-size-heading4 {
    font-size: 20px;
}

/*弹出框标题*/

.text-size-heading5 {
    font-size: 20px;
}

.text-size-heading6 {
    font-size: 18px;
}

/*内容或设置项的分组标题*/

.text-size-subtitle-1 {
    font-size: 16px;
}

/*段落文本的分组标题*/

.text-size-subtitle-2 {
    font-size: 14px;
}

/*内容区的大文本按钮*/

.text-size-button-1 {
    font-size: 16px;
}

/*列表去的小文本按钮*/

.text-size-button-2 {
    font-size: 14px;
}

/*列表正文、段落文本*/

.text-size-body-1 {
    font-size: 16px;
}

/*列表辅助文本、宫格描述文本、段落文本*/

.text-size-body-2 {
    font-size: 14px;
}

/*功能入口icon说明文本、段落文本*/

.text-size-body-3 {
    font-size: 12px;
}

.text-size-body-4 {
    font-size: 10px;
}

/*toolbar tabbar 描述文本、内容来源*/

.text-size-caption {
    font-size: 10px;
}

/*强调型标题下的描述文本*/

.text-size-over_line {
    font-size: 14px;
}

.scale-with-system {
    allow-scale: true;
}

.not-scale-with-system {
    allow-scale: false;
}

.text-scale-10to8 {
    max-font-size: 10px;
    min-font-size: 8px;
    text-overflow: ellipsis;
}

.text-scale-12to9 {
    max-font-size: 12px;
    min-font-size: 9px;
    text-overflow: ellipsis;
}

.text-scale-12to8 {
    max-font-size: 12px;
    min-font-size: 8px;
    text-overflow: ellipsis;
}

.text-scale-14to9 {
    max-font-size: 14px;
    min-font-size: 9px;
    text-overflow: ellipsis;
}

.text-scale-14to12 {
    max-font-size: 14px;
    min-font-size: 12px;
    text-overflow: ellipsis;
}

.text-scale-14to10 {
    max-font-size: 14px;
    min-font-size: 12px;
    text-overflow: ellipsis;
}

.text-scale-16to10 {
    max-font-size: 16px;
    min-font-size: 10px;
    text-overflow: ellipsis;
}

.text-scale-16to9 {
    max-font-size: 16px;
    min-font-size: 9px;
    text-overflow: ellipsis;
}

.text-scale-18to9 {
    max-font-size: 18px;
    min-font-size: 9px;
    text-overflow: ellipsis;
}

.text-scale-18to14 {
    max-font-size: 18px;
    min-font-size: 14px;
    text-overflow: ellipsis;
}

.text-scale-20to14 {
    max-font-size: 20px;
    min-font-size: 14px;
    text-overflow: ellipsis;
    allow-scale: false;
}

.text-scale-24to18 {
    max-font-size: 24px;
    min-font-size: 18px;
    text-overflow: ellipsis;
    allow-scale: false;
}


